package com.bjtu.literatureclient.service.authorindex;

import com.bjtu.literatureclient.domain.authorindex.AuthorIndex;
import com.bjtu.literatureclient.domain.city.CityState;
import com.bjtu.literatureclient.domain.institution.CNInstitution;
import com.bjtu.literatureclient.domain.institution.ENInstitution;
import com.bjtu.literatureclient.domain.journal.JournalChinese;
import com.bjtu.literatureclient.domain.journal.JournalEnglish;
import com.bjtu.literatureclient.domain.publisher.CNPublisher;
import com.bjtu.literatureclient.domain.publisher.ENPublisher;
import com.bjtu.literatureclient.domain.user.UserIndexNoTable;

import java.util.List;

public interface AuthorIndexService {
	public Boolean addAuthorIndex(AuthorIndex authorIndex);
	public String getSurName(String surName);//姓
	public String getName(String name);//名字
	public Boolean addJournalTable2(JournalChinese journalChinese);
	//public Boolean addPublisherTable2(CNPublisher cnPublisher);
	public int getCityID(String country, String province, String city);
	public Boolean checkISSN(String Issn);
	public Boolean addPublisherTable2(CNPublisher cnPublisher);
	public Boolean addCityStateTable(CityState cityState);
	public String getStateName1(String stateName2);
	public String getCity(String province_value);
	public List getStateName2(String Region, String id);
	public List<String> getCityName2(String StateName2);
	public Boolean checkISSN1(String issn);
	public Boolean addPublisherTable1(ENPublisher enPublisher);
	public int getCityID1(String country, String province, String city);
	public Boolean addJournalTable1(JournalEnglish journalEnglish);
	public String getChineseStateName2(String StateName1);
    public Boolean addAuthorIndexs(List<AuthorIndex> authors);
	public boolean addUSerIndex(UserIndexNoTable userIndexNoTable);
	public List<String> getPublisher();
	public Boolean addInstitutionTable2(CNInstitution institution);
	public Boolean addInstitutionTable1(ENInstitution institution);
	public List<String> getPublisher1();
	public int getInstitutionID(String InstitutionName2);
	public String getEnglishStateName1(String stateName2);
	public int getInstitutionID1(String InstitutionName);
	public List<String> getCityName1(String StateName1);
}
